<?php
include '../functions.php';
/**
 * 自动载入
 * @param $cname [未找到的类的名称]
 */
function __autoload($cname){
    include "./Controller/{$cname}.class.php";
}
$obj = new IndexController();
$a = isset($_GET['a']) ? $_GET['a'] : 'index';
$obj->$a();

















